package cn.iocoder.yudao.module.yyzx.controller.admin.retreat.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

@Schema(description = "管理后台 - 退住登记新增/修改 Request VO")
@Data
public class RetreatSaveReqVO {

    @Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "15984")
    private Integer id;

    @Schema(description = "客户ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "20127")
    @NotNull(message = "客户ID不能为空")
    private Integer customerid;

    @Schema(description = "退住时间")
    private LocalDateTime retreatTime;

    @Schema(description = "退住类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @NotEmpty(message = "退住类型不能为空")
    private String retreatType;

    @Schema(description = "退出原因", requiredMode = Schema.RequiredMode.REQUIRED, example = "不好")
    @NotEmpty(message = "退出原因不能为空")
    private String retreatReason;

    @Schema(description = "状态：已申请，审批通过，审批未通过", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotEmpty(message = "状态：已申请，审批通过，审批未通过不能为空")
    private String status;

    @Schema(description = "审核意见", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @NotEmpty(message = "审核意见不能为空")
    private String auditStatus;

    @Schema(description = "审核人", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "审核人不能为空")
    private String auditPerson;

    @Schema(description = "审核时间")
    private LocalDateTime auditTine;

}